import { Module } from "@nestjs/common"
import { TestController } from "./test.controller";
import { UserModule } from "src/user/user.module";
import { DeptModule } from "src/dept/dept.module";
import { RoleModule } from "src/role/role.module";
import { SystemModule } from "src/system/system.module";
import { DingtalkModule } from "src/dingtalk/dingtalk.module";
import { AttendanceModule } from "src/attendance/attendance.module";
import { NoticeModule } from "src/notice/notice.module";
import { TestService } from './test.service';
import { TypeOrmModule } from "@nestjs/typeorm";
import { Criticize } from "./criticize.entity";

@Module({
    imports: [
        TypeOrmModule.forFeature([Criticize]),
        UserModule,
        DeptModule,
        RoleModule,
        SystemModule,
        DingtalkModule,
        AttendanceModule,
        NoticeModule
    ],
    controllers: [
        TestController
    ],
    providers: [TestService]
})
export class TestModule { }